<?php
/**
 * sablonys View for Ohlasky Component
 * @license		GNU/GPL
 */

// No direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

jimport( 'joomla.application.component.view' );

/**
 * sablonys View
 */
class OhlaskysViewSablonys extends JView
{
    /**
     * sablonys view display method
     * @return void
     **/
    function display($tpl = null)
    {
        JToolBarHelper::title( JText::_( 'Manager šablon' ), 'generic.png' );
        JToolBarHelper::editListX();
        JToolBarHelper::addNewX();
        //zajistit i vymazani deti, tedy udalosti sablony
        JToolBarHelper::deleteList();
        // Get data from the model
        $items	= & $this->get( 'Data');

        $this->assignRef('items', $items);

        parent::display($tpl);
    }
}


